// store/menu.js
import { defineStore } from "pinia";
import router from "@/router";
export const useMenuStore = defineStore("menu", {
  state: () => ({
    isCollapsed: false,
    menus: [],
  }),
  actions: {
    toggleMenu() {
      this.isCollapsed = !this.isCollapsed;
    },
  },
});
